{"version":3,"sources":["extension.js"],"names":["BX","namespace","LoadExt","Extension","STATE_SCHEDULED","STATE_LOADED","STATE_LOAD","STATE_ERROR","inlineScriptsReducer","accumulator","item","isInternal","push","JS","externalScriptsReducer","prepareResult","html","type","isString","processHTML","SCRIPT","STYLE","makeIterable","value","isArray","loadAll","items","length","Promise","resolve","load","bind","this","data","isPlainObject","TypeError","name","extension","state","result","inlineScripts","reduce","externalScripts","externalStyles","prototype","loadPromise","console","warn","forEach","evalGlobal","all","then"],"mappings":"CAAC,WACA,aAEA,IACGA,MAAQA,WAAaA,GAAGC,YAAc,cACrCD,MAAQA,GAAGE,WAAaF,GAAGE,QAAQC,UAEvC,CACC,OAGDH,GAAGC,UAAU,cAEb,IAAIG,EAAkB,YACtB,IAAIC,EAAe,SACnB,IAAIC,EAAa,OACjB,IAAIC,EAAc,QASlB,SAASC,EAAqBC,EAAaC,GAE1C,OAAQA,EAAKC,YAAcF,EAAYG,KAAKF,EAAKG,IAAMJ,EAUxD,SAASK,EAAuBL,EAAaC,GAE5C,OAASA,EAAKC,YAAcF,EAAYG,KAAKF,EAAKG,IAAMJ,EASzD,SAASM,EAAcC,GAEtB,OAAOhB,GAAGiB,KAAKC,SAASF,GAAQhB,GAAGmB,YAAYH,IAASI,UAAYC,UASrE,SAASC,EAAaC,GAErB,GAAIvB,GAAGiB,KAAKO,QAAQD,GACpB,CACC,OAAOA,EAGR,GAAIvB,GAAGiB,KAAKC,SAASK,GACrB,CACC,OAAQA,GAGT,SASD,SAASE,EAAQC,GAEhBA,EAAQJ,EAAaI,GAErB,IAAKA,EAAMC,OACX,CACC,OAAOC,QAAQC,UAGhB,OAAO,IAAID,QAAQ,SAASC,GAC3B7B,GAAG8B,KAAKJ,EAAOG,IACdE,KAAKC,OAURhC,GAAGE,QAAQC,UAAY,SAAS8B,GAE/B,IAAKjC,GAAGiB,KAAKiB,cAAcD,GAC3B,CACC,OAAO,IAAIE,UAAU,sBAGtBH,KAAKI,KAAOH,EAAKI,UACj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